package com.softoa.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class News {

  private long newsId;
  private java.sql.Timestamp newsSendTime;
  private String newsText;
  private String newsFormat;
  private String newsState;
  private long sessionId;
  private int sendUserId;
  private int acceptUserId;
  private java.sql.Timestamp secTime;


  public long getNewsId() {
    return newsId;
  }

  public void setNewsId(long newsId) {
    this.newsId = newsId;
  }

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  public java.sql.Timestamp getNewsSendTime() {
    return newsSendTime;
  }

  public void setNewsSendTime(java.sql.Timestamp newsSendTime) {
    this.newsSendTime = newsSendTime;
  }


  public String getNewsText() {
    return newsText;
  }

  public void setNewsText(String newsText) {
    this.newsText = newsText;
  }


  public String getNewsFormat() {
    return newsFormat;
  }

  public void setNewsFormat(String newsFormat) {
    this.newsFormat = newsFormat;
  }


  public String getNewsState() {
    return newsState;
  }

  public void setNewsState(String newsState) {
    this.newsState = newsState;
  }


  public long getSessionId() {
    return sessionId;
  }

  public void setSessionId(long sessionId) {
    this.sessionId = sessionId;
  }


  public int getSendUserId() {
    return sendUserId;
  }

  public void setSendUserId(int sendUserId) {
    this.sendUserId = sendUserId;
  }


  public int getAcceptUserId() {
    return acceptUserId;
  }

  public void setAcceptUserId(int acceptUserId) {
    this.acceptUserId = acceptUserId;
  }

  public java.sql.Timestamp getSecTime(){return this.secTime;}
  public void setSecTime(Timestamp t){this.secTime=t;}

}
